//
//  NEDFormTableViewController.m
//  NEDFormView_Example
//
//  Created by 000 on 2022/1/7.
//  Copyright © 2022 000. All rights reserved.
//

#import "NEDFormTableViewController.h"
#import <Masonry/Masonry.h>


@interface NEDFormTableViewController ()//<UITableViewDelegate, UITableViewDataSource>

@property (retain, nonatomic, readwrite) UITableView * tableView;

@end

@implementation NEDFormTableViewController


- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    self.tableView = [[UITableView alloc] initWithFrame:CGRectZero style:(UITableViewStylePlain)];
    self.tableView.rowHeight = 50;
    self.tableView.tableFooterView = [UIView new];
    self.tableView.tableHeaderView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, 20, 13)];
    self.tableView.separatorColor = [UIColor clearColor];
    self.tableView.backgroundColor = [UIColor clearColor];
    self.tableView.estimatedRowHeight = 0;
    self.tableView.contentInset = UIEdgeInsetsZero;
    [self.view addSubview:self.tableView];
    [self.tableView mas_makeConstraints:^(MASConstraintMaker *make) {
        make.edges.equalTo(self.view);
    }];
    self.automaticallyAdjustsScrollViewInsets = NO;
    if (@available(iOS 11.0, *)) {
        self.tableView.contentInsetAdjustmentBehavior = UIScrollViewContentInsetAdjustmentNever;
    }
    
    
    self.targetForm = [[NEDFormTargetTableView alloc] initWithTableView:self.tableView];
    
    
//    self.targetForm.rowDelegate = self;
}




@end
